home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / misc / gms_dev.lha / GMSDev / Includes / graphics / pictures.i < prev    next >
Encoding:
Text File  |  1998-07-18  |  1.3 KB  |  46 lines

  1.     IFND GRAPHICS_PICTURES_I
  2. GRAPHICS_PICTURES_I  SET  1
  3.  
  4. **
  5. **  $VER: pictures.i
  6. **
  7. **  (C) Copyright 1996-1998 DreamWorld Productions.
  8. **      All Rights Reserved.
  9. **
  10.  
  11.     IFND    DPKERNEL_I
  12.     include 'dpkernel/dpkernel.i'
  13.     ENDC
  14.  
  15. ****************************************************************************
  16. * Picture object.
  17.  
  18. VER_PICTURE  = 2
  19. TAGS_PICTURE = ((ID_SPCTAGS<<16)|ID_PICTURE)
  20.  
  21.    STRUCTURE    PIC,HEAD_SIZEOF ;Standard header.
  22.     APTR    PIC_Bitmap      ;Bitmap details.
  23.     LONG    PIC_Options     ;Special flags.
  24.     APTR    PIC_Source      ;Where this picture comes from.
  25.     WORD    PIC_ScrMode     ;Intended screen mode for picture.
  26.     WORD    PIC_ScrHeight   ;Screen Height (pixels)
  27.     WORD    PIC_ScrWidth    ;Screen Width (pixels)
  28.  
  29. PCA_BitmapTags = (TSTEPIN|PIC_Bitmap)
  30. PCA_Options    = (TLONG|PIC_Options)
  31. PCA_Source     = (TAPTR|PIC_Source)
  32. PCA_ScrMode    = (TWORD|PIC_ScrMode)
  33. PCA_ScrHeight  = (TWORD|PIC_ScrHeight)
  34. PCA_ScrWidth   = (TWORD|PIC_ScrWidth)
  35.  
  36. ****************************************************************************
  37. * Picture, Anim, CardSet etc special options.
  38.  
  39. IMG_RESIZEX   = $00000001     ;Allow resize on X axis.
  40. IMG_NOCOMPARE = $00000002     ;Do not compare the palettes.
  41. IMG_REMAP     = $00000004     ;Allow remapping.
  42. IMG_RESIZEY   = $00000008     ;Allow resize on Y axis.
  43. IMG_RESIZE    = IMG_RESIZEX|IMG_RESIZEY  ;Allow resize on both axis?
  44.  
  45.     ENDC    ;GRAPHICS_PICTURES_I
  46.